# @Time    : 2022/7/18 13:52
# @Author  : mobai
# @Email   : 3111283671@qq.com
# @File    : tool_xsjh_excel.py
# @Software: PyCharm


import xlrd


def getexcel(fiel_name):
    data = xlrd.open_workbook(fiel_name)
    table = data.sheet_by_name("xsjh")
    list1 = []
    for n_row in range(0, table.nrows):
        list1.append(table.row_values(n_row))
    return list1